<template>
  <div class="wrapper">
    <div class="header">
      <!-- title标题区域 -->
      <div class="title">
        <img src="../assets/img/device/title.png" alt="title">
        <span>离线时长统计</span>
      </div>
      <div class="right">
         <slot name="right" class="hh">2020年</slot>
      </div>
    </div>
    <!-- 图表区域 -->
    <div class="chart"></div>
    <!-- 底部区域 -->
    <div class="panel-footer"></div>
  </div>
</template>

<script scoped>
export default {
  name: 'ConItem',
  props: [],
  data () {
    return {}
  },
  components: {},
  created () {},
  mounted () {}
}
</script>

<style lang='less' scoped>
  .wrapper{
    width: 90%;
    margin-left: 5%;
    background-color: rgba(19,64,83,.7);
    border-radius: 5px;
    color:#fff;
    padding:5Px;
    .header{
      display: flex;
      justify-content: space-between;
      height: 34px;
      align-items: center;
      border-bottom: 1Px solid #79858d;
      .title{
        display: flex;
        align-items: center;
        font-size:12px;
      }
      .right{
        width: 100px;
        text-align: center;
        line-height: 35px;
        font-size:13px;
      }
    }
    .chart{
      width: 100%;
    }
  }
</style>
